Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary loop variable from series meta-programming #1923

Merged
merged 1 commit into from
Oct 27, 2024

Conversation

lgoettgens
Copy link
Collaborator

The loop variables in question are the same for all iterations, making it possible to instead inline them.
Inlining makes everything a lot more readable (at least for me). Furthermore, it enables us to grep for some flint function and find all places where it is called (of course if all similar places are inlined/unrolled as well).

Copy link

codecov bot commented Oct 25, 2024

Codecov Report

Attention: Patch coverage is 91.12426% with 15 lines in your changes missing coverage. Please review.

Project coverage is 87.41%. Comparing base (06ec014) to head (795c62c).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
src/flint/nmod_rel_series.jl 88.52% 7 Missing ⚠️
src/flint/fmpz_mod_abs_series.jl 86.20% 4 Missing ⚠️
src/flint/fmpz_mod_rel_series.jl 94.54% 3 Missing ⚠️
src/flint/nmod_abs_series.jl 95.83% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1923      +/-   ##
==========================================
+ Coverage   87.39%   87.41%   +0.02%     
==========================================
  Files          97       97              
  Lines       35614    35614              
==========================================
+ Hits        31124    31132       +8     
+ Misses       4490     4482       -8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@fingolfin fingolfin merged commit a45c58f into Nemocas:master Oct 27, 2024
24 checks passed
@lgoettgens lgoettgens deleted the lg/mod-series-flint_fn branch October 27, 2024 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants